/* 组件相关接口 */
let addons = {
	// 满减满赠
	ADDONS_PROMOTION_GOODS_LIST:	'promotion_goods/promotion_goods/lists',	// 商品促销列表
	ADDONS_PROMOTION_GOODS_DETAIL:	'promotion_goods/promotion_goods/detail',	// 商品促销详情
	ADDONS_PROMOTION_GOODS_CREATE:	'promotion_goods/promotion_goods/create',	// 创建商品促销
	ADDONS_PROMOTION_GOODS_EDIT:	'promotion_goods/promotion_goods/edit',		// 编辑商品促销
	ADDONS_PROMOTION_GOODS_DELETE:	'promotion_goods/promotion_goods/delete',	// 删除商品促销
	
	// 限时抢购
	ADDONS_PROMOTION_TIME_LIST:		'promotion_time/promotion_time/lists',		// 限时抢购列表
	ADDONS_PROMOTION_TIME_DETAIL:	'promotion_time/promotion_time/detail',		// 限时抢购详情
	ADDONS_PROMOTION_TIME_CREATE:	'promotion_time/promotion_time/create',		// 创建限时抢购
	ADDONS_PROMOTION_TIME_EDIT:		'promotion_time/promotion_time/edit',		// 编辑限时抢购
	ADDONS_PROMOTION_TIME_DELETE:	'promotion_time/promotion_time/delete',		// 删除限时抢购
	
}

// 添加api前缀
for(let k in addons) {
	addons[k] = '/addons/' + addons[k];
}

export default addons;